Repository navigation
Conversation
…ials to the provider package Issue #3311. Builds on #4720 (provider-plugin host). - Add packages/provider-limrun/src/plugin.ts: the single transitional limrunPlugin(options) factory. Its setup reads credentials, builds runtime dependencies through the injected plugin host, and loads the runtime with the platform module; its credentials declaration keeps per-backend fingerprint narrowing. - Move the credential reader and declaration from src/provider-limrun-credentials.ts to packages/provider-limrun/src/credentials.ts so the provider package owns credential interpretation. - Expose the factory through the new lazy, SDK-free @agent-device/provider-limrun/internal entry; the built-in candidate in src/builtin-provider-plugins.ts composes the factory with the root-owned runtime dependencies and state paths, preserving dormant/failed/active candidate semantics. - Rewire src/cli/connection and the daemon credential test to the internal entry; drop the migrated root-module-zone row; update the boundary and dependency pins, package manifests, and lockfile.
… facet The Android facet exposed adb mechanics but not the interactor a provider device runtime must answer `getInteractor` with, so the Limrun adapter kept its own static edge to the root's factory and the facet's host authority stopped short of every command that interactor runs. The root's facet gains one synchronous `createInteractor`. The root reads the family's factory once while it builds the capabilities, which is what makes the operation synchronous: `getInteractor` cannot await, and a lazy edge would need a proxy interactor instead of this seam. The value is wrapped in the same command scope every other facet operation re-enters, so a provider that resolves a tool of its own keeps resolving it from the host the facet was built for, never from the ambient process or an enclosing request. The operation is named on the root's own facet type and not on the published plugin contract. A plugin package bundles that contract into its own declaration, and a consumer that hands two such packages to `startAgentDevice` compares their copies of `setup` member by member; an interactor's snapshot answer reaches `SnapshotViewportSize`, branded with a `unique symbol` no second copy answers to, so naming one there would stop that consumer compiling. The adapter reads the operation as an optional facet member and keeps its embedded path, unchanged, when a caller supplies no capabilities. Its provider conversion is shared with the scope it already installed, so both arms cross the boundary the same way, and the provider mirror gains `text`, which the family reads off the provider it installs its scope over, so a provider with native text entry keeps that route.
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on b2e74a3. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
I found one problem at 15c18ec that needs a live run before merge. CI is green: 16 checks, none failing. There are no conflicts. Every production Limrun Android Could Limrun's Android interactor go only through the facet? That would delete the adapter's static The open inline thread on the text request type is fixed at this head: Not blocking, and fine to take or leave: delete the Before merge, the live Limrun Android run on 15c18ec is needed, along with an answer on the fallback and extraction question. |
|
I traced the daemon composition at I recorded the decision in #3311 to make the interactor cutover in the extraction PR. That change will use one core-owned synchronous adapter bound to the admitted lease and keep the branded interactor internal. The exact-head hosted Limrun run is still pending. The current T3 device inventory exposes a local host only, with no Limrun Android binding for |
|
Thanks. That settles the host question: the facet and the adapter close over the same |
254805f to
77435a4
Compare
|
Closing as superseded. #4720 removed the provider host facet that this PR builds on. Per the decision in #3311 (#3311 (comment)), the Android interactor change moves into the extraction cutover: one core-owned adapter bound to the admitted Android lease, with the direct embedded path removed. The live packed Android acceptance (snapshot, fill, press) applies to that PR. |
Summary
ProviderAndroidTextInjectionRequestfromagent-device/pluginsand cover the serial-scoped text handler. Eight files. Part of refactor(provider-limrun): ship Limrun as the@agent-device/limrunplugin #3311. Stacked on refactor(limrun): compose the v2 plugin factory #4723.Validation
15c18ec46f52f08342254348370334265e59b186on base4b7e61602b331331b9ef6d01881ad1a52d55638a.pnpm check:affected --run --head 15c18ec46f52f08342254348370334265e59b186passed (42 passed, 25 skipped), including packed consumer integration. The scoped provider test exercised both lines missed by the previous hosted Coverage run.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.